<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"> 
<head>
<title>Custom Page (Rollup with Synopsis)</title>

<!--[if gte mso 9]><xml>
<mso:CustomDocumentProperties>
<mso:TemplateHidden msdt:dt="string">FALSE</mso:TemplateHidden>
<mso:MasterPageDescription msdt:dt="string">Displays search results formatted for rollup of custom page content. Including the rollup image, page title, and page synopsis.</mso:MasterPageDescription>
<mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
<mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType>
<mso:ManagedPropertyMapping msdt:dt="string">'Title':'Title','Path':'Path','Synopsis':'SynopsisOWSMTXT','PublishingImage':'PublishingImage','LastModifiedTime':'LastModifiedTime'</mso:ManagedPropertyMapping>
</mso:CustomDocumentProperties>
</xml><![endif]-->
</head>
<body>
    <div id="Item_CustomPage_RollupWithSynopsis">
<!--#_ 
        if(!$isNull(ctx.CurrentItem) && !$isNull(ctx.ClientControl)){
            var id = ctx.ClientControl.get_nextUniqueId();
            var encodedId = $htmlEncode(id);
            var title = ctx.CurrentItem.Title;
            var path = ctx.CurrentItem.Path;

            var rollupImage = $getItemValue(ctx, "PublishingImage");
            var synopsis = $getItemValue(ctx, "Synopsis");
_#-->

            <a href="_#= ctx.CurrentItem.Path =#_"><img src="_#= rollupImage =#_"/></a>
            <a href="_#= ctx.CurrentItem.Path =#_"><h3>_#= title =#_</h3></a>
            <p>_#= synopsis =#_</p>
<!--#_
        }
_#-->
    </div>
</body>
</html>
